/****** Object:  Table [dbo].[city]   ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[city](
	[cityCode] [nchar](10) NOT NULL,
	[countryCode] [nchar](10) NOT NULL,
	[cityDescription] [nchar](20) NULL,
 CONSTRAINT [PK_city] PRIMARY KEY CLUSTERED 
(
	[cityCode] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[city]  WITH CHECK ADD  CONSTRAINT [FK_city_country] FOREIGN KEY([countryCode])
REFERENCES [dbo].[country] ([countryCode])
GO

ALTER TABLE [dbo].[city] CHECK CONSTRAINT [FK_city_country]
GO

